package com.d3works.apps.bpm.service.execution;

import com.d3works.apps.bpm.db.WkfTaskConfig;
import com.d3works.apps.tool.context.FullContext;
import com.d3works.exception.D3worksException;
import java.io.IOException;
import javax.mail.MessagingException;
import org.camunda.bpm.engine.delegate.DelegateExecution;

public interface WkfEmailService {

  public void sendEmail(WkfTaskConfig wkfTaskConfig, DelegateExecution execution)
      throws ClassNotFoundException, MessagingException, D3worksException, InstantiationException,
          IllegalAccessException, IOException;

  public String createUrl(FullContext wkfContext, String formName);
}
